package com.bysj.service;

import com.bysj.dao.AdminDao;
import com.bysj.entity.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    AdminDao adminDao;

    @Override
    public List<Admin> login(String name,String password) {
        return  adminDao.login(name,password) ;
    }
}
